package com.seocoo.worker.order.model;


import com.seocoo.worker.order.req.ReqOrderInstallDetail;
import com.sfh.lib.mvvm.BaseViewModel;

/**
 * author : Ssp
 * e-mail : 981297079@qq.com
 * date   : 2020/2/2320:32
 * desc   : 安装订单列表
 * version: 1.0
 */
public class OrderInstallDetailModel extends BaseViewModel {

    public void refreshData(ReqOrderInstallDetail req) {
        this.execute(true, req, t -> {
            hideLoading();
            if (t.success()) {
                setValue("onQuerySuccess", t.getData());
            } else {
                showDialogToast(t.getMsg());
            }
        });
    }
}
